after加线(:after加下划线) | 您所在的位置:网站首页 › right bottom › after加线(:after加下划线) |
.underline{ position:relative; } .underline:after { position: absolute; bottom: 0; left: 20px; right: 20px; height: 1px; content: ''; -webkit-transform: scaleY(.5); transform: scaleY(.5); background-color: #e3e5e9; //这个是唯佳的线颜色 } .underline:last-child:after{ //可以这样用 height:0; } |
CopyRight 2018-2019 实验室设备网 版权所有 |